import MockData from './components.json'

export default [
  // 流程状态
  {
    url: '/Mocks/common/list/status',
    type: 'post',
    response: config => {
      const items = MockData.status
      return {
        status: 1,
        data: items,
        msg: '请求成功'
      }
    }
  },
  // 审批流程
  {
    url: '/Mocks/common/list/process',
    type: 'post',
    response: config => {
      const items = MockData.approveProcess
      return {
        status: 1,
        data: items,
        msg: '请求成功'
      }
    }
  },
  // 终端类型
  {
    url: '/Mocks/common/list/terminal',
    type: 'post',
    response: config => {
      const items = MockData.terminalType
      return {
        status: 1,
        data: items,
        msg: '请求成功'
      }
    }
  },
  // 终端列表
  {
    url: '/Mocks/account/terminalList/list',
    type: 'post',
    response: config => {
      const items = MockData.terminalList
      return {
        status: 1,
        data: items,
        msg: '请求成功'
      }
    }
  },
]
